<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Description')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-description" class="form-control" name="row[description]" type="text" value="{$row.description|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Identify')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-identify" class="form-control" name="row[identify]" type="text" value="{$row.identify|htmlentities}">-->
<!--            <span class="help-block">{:__('tips_project_identify')}</span>-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Icon_image')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <div class="input-group">-->
<!--                <input id="c-icon_image" class="form-control" size="50" name="row[icon_image]" type="text" value="{$row.icon_image|htmlentities}">-->
<!--                <div class="input-group-addon no-border no-padding">-->
<!--                    <span><button type="button" id="faupload-icon_image" class="btn btn-danger faupload" data-input-id="c-icon_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-icon_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>-->
<!--                    <span><button type="button" id="fachoose-icon_image" class="btn btn-primary fachoose" data-input-id="c-icon_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>-->
<!--                </div>-->
<!--                <span class="msg-box n-right" for="c-icon_image"></span>-->
<!--            </div>-->
<!--            <ul class="row list-inline faupload-preview" id="p-icon_image"></ul>-->
<!--            <span class="help-block">{:__('tips_icon_image')}</span>-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <div class="input-group">-->
<!--                <input id="c-image" class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">-->
<!--                <div class="input-group-addon no-border no-padding">-->
<!--                    <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>-->
<!--                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>-->
<!--                </div>-->
<!--                <span class="msg-box n-right" for="c-image"></span>-->
<!--            </div>-->
<!--            <ul class="row list-inline faupload-preview" id="p-image"></ul>-->
<!--            <span class="help-block">{:__('tips_image_size')}</span>-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Views')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-views" min="0" class="form-control" name="row[views]" type="number" value="{$row.views|htmlentities}" readonly>-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group hide">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Tags')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-tags" class="form-control" data-role="tagsinput" name="row[tags]" type="text" value="{$row.tags|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            -->
<!--            <div class="radio">-->
<!--            {foreach name="statusList" item="vo"}-->
<!--            <label for="row[status]-{$key|htmlentities}"><input id="row[status]-{$key|htmlentities}" name="row[status]" type="radio" value="{$key|htmlentities}" {in name="key" value="$row.status"}checked{/in} /> {$vo|htmlentities}</label> -->
<!--            {/foreach}-->
<!--            </div>-->

<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Auth_group_ids')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-auth_group_ids"  data-source="knowbase/group_new/index" data-multiple="true" class="form-control selectpage" name="row[auth_group_ids]" type="text" value="{$row.auth_group_ids|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Admin_ids')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-admin_ids"  data-field="username" data-source="auth/admin/selectpage" data-multiple="true" class="form-control selectpage" name="row[admin_ids]" type="text" value="{$row.admin_ids|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Access_type')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--                        -->
<!--            <select  id="c-access_type" class="form-control selectpicker" name="row[access_type]">-->
<!--                {foreach name="accessTypeList" item="vo"}-->
<!--                    <option value="{$key|htmlentities}" {in name="key" value="$row.access_type"}selected{/in}>{$vo|htmlentities}</option>-->
<!--                {/foreach}-->
<!--            </select>-->

<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group password" {if $row['access_type']!=1} style="display:none;" {/if}>-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Password')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <div class="input-group">-->
<!--                <input id="c-password" class="form-control" name="row[password]" type="text" value="{$row.password|htmlentities}">-->
<!--                <span class="input-group-btn">-->
<!--                    <a class="btn btn-default btn-random" >{:__('create_random')}</a>-->
<!--                </span>-->
<!--            </div>-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group user_group_ids" {if $row['access_type']!=2} style="display:none;" {/if}>-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('User_group_ids')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-user_group_ids"  data-source="user/group/index" data-multiple="true" class="form-control selectpage" name="row[user_group_ids]" type="text" value="{$row.user_group_ids|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    -->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('sync_switch')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            -->
<!--            <input  id="c-sync_switch" name="row[sync_switch]" type="hidden" value="0">-->
<!--            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-sync_switch" data-yes="1" data-no="0" >-->
<!--                <i class="fa fa-toggle-on text-success  fa-flip-horizontal text-gray fa-2x"></i>-->
<!--            </a>-->
<!--             <span class="help-block">{:__('tips_sync_switch')}</span>-->
<!--        </div>-->
<!--    </div>-->

<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Expand_switch')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input  id="c-expand_switch" name="row[expand_switch]" type="hidden" value="{$row.expand_switch|htmlentities}">-->
<!--            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-expand_switch" data-yes="1" data-no="0" >-->
<!--                <i class="fa fa-toggle-on text-success {eq name="$row.expand_switch" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>-->
<!--            </a>-->
<!--            <span class="help-block">{:__('tips_expand_switch')}</span>-->
<!--        </div>-->
<!--    </div>-->
<!--    -->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Archive_switch')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            -->
<!--            <input  id="c-archive_switch" name="row[archive_switch]" type="hidden" value="{$row.archive_switch|htmlentities}">-->
<!--            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-archive_switch" data-yes="1" data-no="0" >-->
<!--                <i class="fa fa-toggle-on text-success {eq name="$row.archive_switch" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>-->
<!--            </a>-->
<!--        </div>-->
<!--    </div>-->
<!--    {if $row.archive_switch}-->
<!--    <div class="form-group"  >-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Archivetime')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-archivetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[archivetime]" type="text" value="{:$row.archivetime?datetime($row.archivetime):''}" disabled>-->
<!--        </div>-->
<!--    </div>-->
<!--    {/if}-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
